package com.arm.service;

import com.arm.module.Order;
import com.arm.module.ShoppingCart;
import com.arm.module.User;

import java.util.List;

/**
 * Created by Baggio on 2019-1-14.
 */
public interface ShoppingCartService {
    void deleteShoppingCart(Long tid);
    void clearShoppingCart(Long userId);

    List<ShoppingCart> getShoppingCartListByUserId(Long userId);

    void modifyShoppingCart(ShoppingCart shoppingCart);
    void addShoppingCart(ShoppingCart shoppingCart);
    Order payShoppingCart(String shoppingCartIds, User user);


}
